┌────────────────────────────────┐ │ ░░░ ░░▓ ░▓▓ ███ ▓▓░ ▓░░ │ │ ~ M O O N ~ │ └────────────────────────────────┘
prd-web-01.centraldc.gr
LOCATION:
/var/www/html/adconect/wp-content/plugins/customizer-export-import/js
☗ ROOT
↻ REFRESH
✎ EDIT FILE
EDITING: customizer.js
( function( $ ) { var CEI = { init: function() { $( 'input[name=cei-export-button]' ).on( 'click', CEI._export ); $( 'input[name=cei-import-button]' ).on( 'click', CEI._import ); $( '.cei-description').css( 'background', '#FFF' ); $( '.cei-description').css( 'padding', '10px' ); }, _export: function() { window.location.href = CEIConfig.customizerURL + '?cei-export=' + CEIConfig.exportNonce; }, _import: function() { var win = $( window ), body = $( 'body' ), form = $( '<form class="cei-form" method="POST" enctype="multipart/form-data"></form>' ), controls = $( '.cei-import-controls' ), file = $( 'input[name=cei-import-file]' ), message = $( '.cei-uploading' ); if ( '' == file.val() ) { alert( CEIl10n.emptyImport ); } else { win.off( 'beforeunload' ); body.append( form ); form.append( controls ); message.show(); form.submit(); } } }; $( CEI.init ); })( jQuery );
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 customizer.js
JS
989 B
2026-04-09 12:11
EDIT